package com.love.marriage.userMembershipRewardInfo.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.love.marriage.common.vo.BaseVo;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import com.love.marriage.config.Long2StringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.love.marriage.config.Long2StringSerializer;

/**
 * description:  用户会员悬赏表Vo
 * author:       alex
 * createDate:   2025-01-25 11:20:43
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "UserMembershipRewardInfoVo", description = "用户会员悬赏表Vo")
public class UserMembershipRewardInfoVo extends BaseVo<UserMembershipRewardInfoVo>{

    @JsonSerialize(using = Long2StringSerializer.class)
    @Schema(description = "用户ID", type = "Long", implementation = Long.class)
    private Long userId;

    @JsonSerialize(using = Long2StringSerializer.class)
    @Schema(description = "会员ID，关联会员配置", type = "Long", implementation = Long.class)
    private Long membershipId;

    @Schema(description = "会员开始时间", type = "LocalDateTime", implementation = LocalDateTime.class)
    private LocalDateTime startTime;

    @Schema(description = "会员结束时间", type = "LocalDateTime", implementation = LocalDateTime.class)
    private LocalDateTime endTime;

}
